<template>
  <div></div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
    methods:{
        addMessage(e){
            if(e.ctrlKey && this.content.length){
                let msgObj = new Object()
                msgObj.to ='几个'
                msgObj.content =this.content
                this.$store.state.stomp.end('/ws/chat',{},JSON.stringify(msgObj))
            }
        }
    }
}
</script>

<style>

</style>